import base from './base'
import axios from './http'
import qs from 'qs'

const upload = {
  getUploadImg (params) {
    return axios.post(`${base.pro}/api/upload/wechatImage`, qs.stringify(params))
  },
  getUploadInfo (params) {
    return axios.post(`${base.pro}/api/member/evaluate`, qs.stringify(params))
  },
  getEvaluate (params) {
    return axios.get(`${base.pro}/api/member/comment`, {
      params
    })
  }
}
export default upload
